package com.molichuxing.services.infrastructure.service;


import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.modify.CheckImageModifyDto;
import com.molichuxing.services.infrastructure.dto.response.CheckImageDto;

import java.util.List;

/**
 * <p>
 * 车辆表 服务类
 * </p>
 *
 * @author 
 * @since 2019-08-15
 */
public interface CheckImageService extends RootService {

  /**
   * 根据检验id查询检验车辆图片
   * @param checkId
   * @return
   */
  List<CheckImageDto> getCheckImageByCheckId(Integer checkId);



  CheckImageDto getCheckPdfByCheckId(Integer checkId);

  /***
   * 根据验车id 增加验车图片
   * @param checkId
   * @param checkImageModifyDto
   * @return
   */
  int   createCheckImage(Integer checkId ,List<CheckImageModifyDto> checkImageModifyDto) throws Exception;


  /**
   * 新增车辆检验图片信息
   * @param checkId
   * @param domainPath
   * @param type
   * @return
   */
  int createPdiCheckImage(Integer checkId ,String  domainPath ,Integer type );


}
